package com.qf.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Daniel
 * @since 2021-10-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BankCard对象", description="")
public class BankCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行卡id")
    @TableId(value = "pk_bank_id", type = IdType.ID_WORKER_STR)
    private Integer pkBankId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "银行卡账号")
    private String bankAccount;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "状态(正常:1/冻结0)（2：申请开户)")
    private String branchState;

    @ApiModelProperty(value = "每天最大限额")
    private BigDecimal quota;

    @ApiModelProperty(value = "银行卡密码")
    private String bankPwd;


}
